package com.mezz.bones.framework.web.handler.log;

import com.alibaba.fastjson.JSONObject;
import com.mezz.bones.framework.web.domain.RequestLog;
import com.mezz.bones.framework.web.handler.log.AbstractRequestLogStoreHandler;
import lombok.extern.slf4j.Slf4j;

@Slf4j
public class DefaultRequestLogStoreHandler extends AbstractRequestLogStoreHandler {
  @Override
  public void saveLog(RequestLog requestLog) {

    //打印出
    log.info("DefaultRequestLogStoreHandler: {}", JSONObject.toJSONString(requestLog));
  }
}
